package com.group3.pojo;

import com.group3.controller.Validated.Add;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import springfox.documentation.annotations.ApiIgnore;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

/**
 * test
 *
 * @author HY
 * 2021/06/03 17:44
 **/

@Data
@ToString
@ApiModel("分页类")
public class Page {

    @ApiModelProperty(value = "分页页码",required = true)
//    @Null(message = "添加班级还想要分页？", groups = Add.class)
    private Integer pageNumber = 1;

    @ApiModelProperty(value = "分页大小",required = true)
//    @Null(message = "添加班级还想要分页？", groups = Add.class)
    private Integer pageSize = 10;

}
